<template></template>
<script>
export default {
    name: "error",
    created() {
        let _this = this
        this.$alert('登录信息失效!', '提示', {
            confirmButtonText: '确定'
        }).then(result => {
            localStorage.removeItem('access-admin')
            _this.$router.replace({
                path: '/login'
            })
        })
    }
}
</script>